#import "~/graphql_shared/fragments/user.fragment.graphql"

fragment BaseWorkItemWidgets on WorkItemWidget {
  ... on WorkItemWidgetAssignees {
    type
    assignees {
      nodes {
        ...User
      }
    }
  }
  ... on WorkItemWidgetLabels {
    type
    allowsScopedLabels
    labels {
      nodes {
        id
        color
        description
        title
      }
    }
  }
  ... on WorkItemWidgetMilestone {
    type
    milestone {
      id
      dueDate
      startDate
      title
      webPath
    }
  }
  ... on WorkItemWidgetStartAndDueDate {
    type
    dueDate
  }
}
